package com.im.common.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(description = "同步响应")
public class SyncResp<T> {

    @ApiModelProperty(value = "最大序列号")
    private Long maxSequence;

    @ApiModelProperty(value = "是否完成，true表示完成，false表示未完成")
    private boolean isCompleted;

    @ApiModelProperty(value = "数据列表")
    private List<T> dataList;

}

